package com.bhs.sansonglogistics.ui.adapter;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

import com.bhs.sansonglogistics.R;
import com.bhs.sansonglogistics.bean.FeeDetail;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;

import java.util.List;

public class HavePaidAdapter extends BaseQuickAdapter<FeeDetail, BaseViewHolder> {

    public HavePaidAdapter( @Nullable List<FeeDetail> data) {
        super(R.layout.item_have_paid, data);
    }

    @Override
    protected void convert(@NonNull BaseViewHolder helper, FeeDetail item) {
        helper.setText(R.id.tv_pattern_payment,item.getPay_type_msg());
        helper.setText(R.id.tv_consigner_paid_expenses,item.getMoney());
    }
}
